<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <base href="<%=basePath%>">
    <meta charset="utf-8" />
  	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta content="telephone=no,email=no" name="format-detection">
    <meta name="wap-font-scale" content="no">
    <title>修改增值发票</title>
    <!-- 公用样式css -->
    <link href="css/base.css" rel="stylesheet" type="text/css" />
    <!-- 界面引入css -->
    <link href="css/interests-member.css" rel="stylesheet" type="text/css" />
    <!-- ui框架引入css -->
    <link href="css/weui.min.css" rel="stylesheet" type="text/css" />
    <link href="css/jquery-weui.min.css" rel="stylesheet" type="text/css" />
    <link href="css/bootstrap-switch.css" rel="stylesheet" type="text/css" />
</head>

<body style="overflow:auto;background-color:#fff;">
<header class="header">
    <div class="header-right wor-colour6" onclick="_backList('${sessionScope.memKey}');return false;">关闭</div>
</header>
<%--<div class="tab">--%>
    <%--<a href="<%=basePath%>member/gotoAddOrdinaryInvoice?type=${type}">增值税普通发票</a>--%>
    <%--<a class="active" href="<%=basePath%>member/gotoAddValueInvoice?type=${type}">增值税专用发票</a>--%>
<%--</div>--%>
<div class="swiper-container" style="width:100%;height:150%;-webkit-overflow-scrolling:touch;overflow-y:scroll;">
    <div class="swiper-wrapper w" style="height:150%">
        <div class="swiper-slide d">
            <div class="swiper-container2">
                <div class="swiper-wrapper">
                    <div class="swiper-slide list-group" style="margin-top: 0px">

                        <form id="form">
                            <input type="hidden" id="invoiceType" name="invoiceType" value="${invoiceType}">
                            <input type="hidden" id="code" name="code" value="${code}">
                            <div class="list-group-item">
                                <li class="adjun-left">发票抬头</li>
                                <li class="adjun-right"><input id="title" name="title" required type="text" class="adjun-input wor-colour1" value="${title}" /></li>
                            </div>
                            <div class="list-group-item">
                                <li class="adjun-left">信用代码</li>
                                <li class="adjun-right"><input id="creditCode" name="creditCode" required number="true" type="text" class="adjun-input wor-colour1" value="${creditCode}" /></li>
                            </div>
                            <div class="list-group-item">
                                <li class="adjun-left">注册地址</li>
                                <li class="adjun-right"><input id="registerAddress" name="registerAddress" type="text" class="adjun-input wor-colour1"  value="${registerAddress}" /></li>
                            </div>
                            <div class="list-group-item">
                                <li class="adjun-left">公司电话</li>
                                <li class="adjun-right"><input id="companyPhone" name="companyPhone" number="true" type="text" class="adjun-input wor-colour1" value="${companyPhone}" /></li>
                            </div>
                            <div class="list-group-item">
                                <li class="adjun-left">开户银行</li>
                                <li class="adjun-right"><input id="openingBank" name="openingBank" type="text" class="adjun-input wor-colour1" value="${openingBank}" /></li>
                            </div>
                            <div class="list-group-item">
                                <li class="adjun-left">开户账号</li>
                                <li class="adjun-right"><input id="openingAccount" name="openingAccount" number="true" type="text" class="adjun-input wor-colour1" value="${openingAccount}"  /></li>
                            </div>
                            <p class="appen-title">发票领取时间</p>
                            <ul class="oneself">
                                <li class="appen-list">
                                    <div class="fit_box">
                                        <input type="radio" value="0" id="checkbox7" name="takeType" <c:if test="${takeType==0}">checked</c:if>>
                                        <label for="checkbox7"></label>
                                    </div>
                                    <div class="margin-left">
                                        <span>离店时领取</span>
                                    </div>

                                </li>
                            </ul>
                            <ul class="oneself">
                                <li class="appen-list">
                                    <div class="fit_box">
                                        <input type="radio" value="1" id="checkbox8" name="takeType" <c:if test="${takeType==1}">checked</c:if>>
                                        <label for="checkbox8"></label>
                                    </div>
                                    <div class="margin-left">
                                        <span>入住时领取</span>
                                    </div>

                                </li>
                            </ul>
                            <ul class="oneself">
                                <li class="appen-list">
                                    <div class="fit_box">
                                        <input type="radio" value="2" id="checkbox9" name="takeType" <c:if test="${takeType==2}">checked</c:if>>
                                        <label for="checkbox9"></label>
                                    </div>
                                    <div class="margin-left">
                                        <span>快递寄送</span>
                                    </div>

                                </li>
                            </ul>
                            <ul style="padding:15px;" >
                                <li class="word4"><span>设为默认</span>
                                    <input name="status" type="checkbox" data-size="small">
                                    <input id="defaultSign" name="defaultSign" type="hidden" value="false">
                                </li>
                            </ul>
                            <div class="pay-button-all"><a class="pay-button" onclick="sumbitForm('${sessionScope.memKey}');return false;">保存</a></div>
                        </form>



                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script src="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/jquery/swiper.js"></script>
<script type="text/javascript" src="js/bootstrap-switch.js"></script>
<script type="text/javascript" src="js/jquery.validate.js"></script>
<script type="text/javascript" src="js/messages_zh.min.js"></script>
<script type="text/javascript" src="js/artDialog/artDialog.source.js?skin=simple"></script>
<script type="text/javascript" src="js/artDialog/plugins/iframeTools.source.js"></script>

<script type="text/javascript">
    //返回列表页
    function  _backList(memKey) {
        window.location.href = "member/getMemInvoiceList";
    }
</script>
<script type="text/javascript" src="js/addInvoice.js"></script>
<%-- <c:if test="${type==1}">
</c:if>
<c:if test="${type==2}">
    <script type="text/javascript" src="js/addInvoiceFrame.js"></script>
</c:if> --%>

</html>
